import request from '@/utils/request'
const apiUrl = '/api/employee-outpass'
export function getEmployeeOutpassPage(params) {
    return request({
        url: `${apiUrl}/page`,
        method: 'get',
        params
    })
}

export function getEmployeeOutpassById(id) {
    return request({
        url: `${apiUrl}/${id}`,
        method: 'get'
    })
}

export function saveEmployeeOutpass(data) {
    return request({
        url: `${apiUrl}/save`,
        method: 'post',
        data
    })
}

export function deleteEmployeeOutpass(ids) {
    return request({
        url: `${apiUrl}/delete`,
        method: 'delete',
        data: ids
    })
} 